import { ref, reactive, toRefs } from 'vue'

export function useStars(props, context) {

    const handleSetStarsNum = (num) => {
        context.emit('update:modelValue', num);
        context.emit('change', num);
    }
    
    return {
        handleSetStarsNum
    }
}